package com.sxj.PDMS.service;

import com.sxj.PDMS.model.dto.admin.MessageRequest;
import com.sxj.PDMS.model.dto.admin.MessageSelectRequest;
import com.sxj.PDMS.model.dto.admin.MessageSelectRequest;
import com.sxj.PDMS.model.entity.Message;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sxj.PDMS.model.vo.MessageVO;
import com.sxj.PDMS.model.vo.PagingQueryResponse;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.text.ParseException;

/**
* @author 503c'j
* @description 针对表【message】的数据库操作Service
* @createDate 2024-06-15 20:48:06
*/
public interface MessageService extends IService<Message> {

    Boolean messageUpload(MessageRequest messageRequest) throws IOException, ParseException;

    PagingQueryResponse<Message> selectAll(Integer page, Integer pageSize);

    PagingQueryResponse<MessageVO> messageSelect(Integer page, Integer pageSize, MessageSelectRequest messageSelectRequest);
}
